package com.guanjia.entity;

/*
* 贷款
* */

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
@TableName("credit_information")
public class CreditInformation {
    @TableId(type=IdType.AUTO)
    private Integer id;
    @TableField(value = "userid",fill = FieldFill.INSERT)
    private Integer userId;
    private String projectname;     //项目名称
    private String city;        //所在城市
    private String province; //所在省份
    private int loanlimit;       //贷款额度
    private int borrowmoney;     //借款金额
    @TableField(value = "MonthlyReturn",fill = FieldFill.INSERT)
    private Double MonthlyReturn ;     //月还款额
    private String borrowtime;        //借款期限
    private Double rateofreturn;       //年回报率
    private String projectabstract;     //项目简介
    @TableField(value = "createtime",fill = FieldFill.INSERT)
    private Date createtime;
    private String schedule;    //投标进度
    @TableField(value = "agreementURL",fill = FieldFill.INSERT)
    private String agreementURL;    //合同图片
    private String step;

    public String getStep() {
        return step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public Double getMonthlyReturn() {
        return MonthlyReturn;
    }

    public void setMonthlyReturn(Double monthlyReturn) {
        MonthlyReturn = monthlyReturn;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public int getLoanlimit() {
        return loanlimit;
    }

    public void setLoanlimit(int loanlimit) {
        this.loanlimit = loanlimit;
    }

    public int getBorrowmoney() {
        return borrowmoney;
    }

    public void setBorrowmoney(int borrowmoney) {
        this.borrowmoney = borrowmoney;
    }

    public String getBorrowtime() {
        return borrowtime;
    }

    public void setBorrowtime(String borrowtime) {
        this.borrowtime = borrowtime;
    }

    public Double getRateofreturn() {
        return rateofreturn;
    }

    public void setRateofreturn(Double rateofreturn) {
        this.rateofreturn = rateofreturn;
    }

    public String getProjectabstract() {
        return projectabstract;
    }

    public void setProjectabstract(String projectabstract) {
        this.projectabstract = projectabstract;
    }

    public String getSchedule() {
        return schedule;
    }

    public void setSchedule(String schedule) {
        this.schedule = schedule;
    }

    public String getAgreementURL() {
        return agreementURL;
    }

    public void setAgreementURL(String agreementURL) {
        this.agreementURL = agreementURL;
    }

    @Override
    public String toString() {
        return "CreditInformation{" +
                "id=" + id +
                ", userId=" + userId +
                ", projectname='" + projectname + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", loanlimit=" + loanlimit +
                ", borrowmoney=" + borrowmoney +
                ", MonthlyReturn=" + MonthlyReturn +
                ", borrowtime='" + borrowtime + '\'' +
                ", rateofreturn=" + rateofreturn +
                ", projectabstract='" + projectabstract + '\'' +
                ", createtime=" + createtime +
                ", schedule='" + schedule + '\'' +
                ", agreementURL='" + agreementURL + '\'' +
                ", step='" + step + '\'' +
                '}';
    }
}
